package com.iot.gateway.tsl.qo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * OpenToken 获取请求 QO（Query Object）
 * <p>用于接收前端传递的 appId 和 appSecretKey</p>
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "OpenTokenQo", description = "获取 OpenToken 请求对象")
public class OpenTokenQo {

    @Schema(description = "应用 ID", required = true, example = "443730751534239744")
    private String appId;

    @Schema(description = "应用密钥", required = true, example = "Jp9Gljxn8ZGK8vDKCf")
    private String appSecretKey;
}
